// less 变量语法
// @mainColor: red;
.goods_swiper{
    width: 100vw;
    height: 100vw;
    &_image{
        width: 100vw;
        height: 100vw;
    }
}

.info{
    padding: 30rpx;
    &_head{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom:10rpx;
        &_left{
            // CSS3 的变量语法
            font-size: 34rpx;
            color: var(--mainColor);
            &::before{
                content:"¥";
                font-size: 80%;
            }
        }
        &_right{
            display: flex;
            align-items: center;
            .iconfont{
                // 颜色变量使用
                color: var(--fadeColor);
                font-size: 40rpx;
                margin:0 10rpx;
                position: relative;
            }
            .share_btn{
                width:100%;
                height: 100%;
                position: absolute;
                left:0;
                top:0;
                opacity: 0;
            }
        }
    }
}

// 图文详情
.detail{
    &_title{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20rpx 0;
    }
    &_body{
        font-size: 0;
        padding-bottom: 120rpx;
        background-color: var(--bgColor);
    }
}
.bottom_bar{
    display: flex;
    align-items: center;
    background-color: #fff;
    width: 100vw;
    height: 94rpx;
    position: fixed;
    left:0;
    bottom: 0;
    &_icon{
      flex: 1;  
      display: flex;
      flex-direction: column;
      color: var(--fadeColor);
      justify-content: center;
      align-items: center;
      // 客服按钮定位
      position: relative;
      .contact_btn{
        width:100%;
        height: 100%;
        position: absolute;
        left:0;
        top:0;
        opacity: 0;
      }
      &_text{
        font-size: 20rpx;
      }
    }
    &_btn{
        width: 196rpx;
        height: 60rpx;
        margin:0 10rpx;
        font-size: 24rpx;
        border-radius: 30rpx;
        color:#fff;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--warnColor);
        &:last-child{
            background-color: var(--dangerColor);
        }
    }
}
